import request from '@/common/request';

export async function getRestaurants() {
  const result = await request({
    url: '/api/restaurant/location/-74.0059413,40.7127837',
    method: 'get',
  });
  return result;
}

export async function getTags() {
  const result = await request({
    url: '/api/tags',
    method: 'get',
  });
  return result;
}
